projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4bd2a9b
)
toolitemgroup: Properly remove internal child widget
author
Timm Bäder
<mail@baedert.org>
Thu, 19 Jan 2017 13:37:51 +0000
(14:37 +0100)
committer
Timm Bäder
<mail@baedert.org>
Fri, 20 Jan 2017 20:50:02 +0000
(21:50 +0100)
We now need to use gtk_widget_unparent and can't just destroy it.
gtk/gtktoolitemgroup.c
patch
|
blob
|
history
diff --git
a/gtk/gtktoolitemgroup.c
b/gtk/gtktoolitemgroup.c
index 75c128e4280e78ae125c12d9af62d3d57bf08c8f..e808427ab2b0c8ae2922c6da41823786e10ac676 100644
(file)
--- a/
gtk/gtktoolitemgroup.c
+++ b/
gtk/gtktoolitemgroup.c
@@
-540,7
+540,7
@@
gtk_tool_item_group_dispose (GObject *object)
g_clear_object (&priv->settings);
if (priv->header)
- gtk_widget_
destroy
(priv->header);
+ gtk_widget_
unparent
(priv->header);
g_clear_object (&priv->header);
G_OBJECT_CLASS (gtk_tool_item_group_parent_class)->dispose (object);